package com.xinghai.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinghai.common.annotation.Excel;
import com.xinghai.common.core.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 店铺商品对象 qd_shop_good
 *
 * @author xinghai
 * @date 2025-01-26
 */
@Data
public class QdShopGoodDTO extends BaseEntity
{
    /** 主键id */
    private Long goodId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    @NotNull(message = "商品图片不能为空")
    private String goodImg;

    /** 商品价格 */
    @NotNull(message = "商品价格不能为空")
    @Excel(name = "商品价格")
    private BigDecimal goodPrice;

    /** 商品赠送积分 */
    @Excel(name = "商品赠送积分")
    @NotNull(message = "赠送积分不能为空")
    private BigDecimal goodPoint;

    /** 商品名称 */
    @Excel(name = "商品名称")
    @NotNull(message = "商品名称不能为空")
    private String goodName;


}
